export const proxy = {
	// '^/api/ucb/.*': {
	// 	target: 'http://127.0.0.1:9501',
	// 	secure: false,
	// 	changeOrigin: true,
	// 	rewrite: path => {
	// 		const after = path.replace(/^\/api\/ucb/, '');
	// 		console.log(path);
	// 		console.log(after);
	// 		return after;
	// 	}
	// },
	'^/item-client/.*': {
		target: 'https://api-gateway-dev.item.pub',
		secure: false,
		changeOrigin: true
	},
	'^/oapi/': {// When single http requests need to be proxied to the same server
		target: 'https://stage.logisticsteam.com',
		secure: false,
		changeOrigin: true,
		// rewrite: path => path.replace(/^\/(api)/, '')
	}
};
